home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1985 February
/
Ahoy_Magazine_85-02_1985_Double_L.d64
/
ins. agent
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
8KB
|
190 lines
0 poke53282,16:poke53283,15:poke53284,2:poke53265,peek(53265)or64
1 poke53281,7:poke53280,7:printchr$(149):print"[147]"
2 fori=1to8:print:next:print" [176][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][174]"
3 print" [194] [194]"
4 print" [194] life insurance needs [194]"
5 print" [194] [194]"
6 print" [173][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][189]":print:print
7 printtab(5);"do you want an introduction <y/n>"
8 gets$:ifs$=""then8
9 ifs$<>"n"ands$<>"y"then7
10 print"[147]":poke53281,7:poke53280,7:printchr$(149):ifs$="y"thengosub5000
20 dr$="[176][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][174]"
25 dv$="[173][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][189]"
30 dw$="[194] [194]"
31 ifx=1thenx=.:goto340
32 rr$="[176][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][174]"
33 rv$="[173][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][189]"
34 rw$="[194] [194]"
35 printtab(3);dr$:printtab(3)dw$
40 print" [194] gross estate estimates [194]"
50 printtab(3);dw$:printtab(3)dv$
65 print:print:printtab(3);rr$
70 printtab(3);"[194]net worth plus insurance proceeds[146][194]"
75 printtab(3);rw$
80 printtab(3);"[194]+++++1. $0 to $20,000 [146]+++++[194]"
85 printtab(3);rw$
90 printtab(3);"[194]+++++2. $20,000 to $200,000[146]+++++[194]"
95 printtab(3);rw$
100 printtab(3);"[194]+++++3. $200,000 to over [146]+++++[194]"
105 printtab(3);rw$
110 printtab(3);"[194]+++++4. end program [146]+++++[194]"
115 printtab(3);rw$
120 printtab(3);"[194]+++++ please select one [146]+++++[194]"
125 printtab(3);rw$
130 print" [194] [146][194]"
135 printtab(3);rv$
140 gets$:ifs$=""then140
145 s=val(s$):ifs<1ors>4thenprint"please enter a number 1-4":goto140
150 ifs=4thenprint"[147]":fori=1to12:print:next:printtab(8);"pleasure to serve you"
155 ifs=4thenfori=1to2000:next:print"[147]":end
160 ifs=1thenge=2200
170 ifs=2thenge=5000
180 ifs=3thenge=10000
190 print"[147]":printtab(3);dr$:printtab(3);dw$
220 printtab(3);"[194] non-mortgage debts [194]"
230 printtab(3);dw$:printtab(3);dv$
240 print:print:print
250 dr$="[176][195][195][195][195][195][195][195][195][195][195][195][195][195][174]":dv$="[173][195][195][195][195][195][195][195][195][195][195][195][195][195][189]"
260 printtab(3);dr$;:printtab(23);dr$
270 printtab(3);"[194] auto loan [194]";:printtab(23);"[194]credit-cards [194]"
280 printtab(3);dv$;:printtab(23);dv$:print:print:print
290 printtab(3);dr$;:printtab(23);dr$:printtab(3);"[194]personal note[194]";
300 printtab(23);"[194]miscellanous [194]":printtab(3);dv$;:printtab(23);dv$
301 print:print:print:printtab(3);"[176][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][174]"
303 printtab(3);"[194] please enter amount at prompt [194]"
305 printtab(3)"[173][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][189]"
310 input"[145][145][145][145][145][145][145][145][145][145][145]==>$";al:input"[145]==>$";cc
320 input"==>$";pn:input"[145]==>$";mc
330 nm=al+cc+pn+mc:print"[147]":x=1:goto20
340 print:printtab(3);dr$:printtab(3);dw$
350 printtab(3);"[194] emergency fund [194]":printtab(3)dw$
360 printtab(3);dv$:print:print" +++++++++++++++++++++++++++++++++++"
362 printtab(3);"+";:printtab(37);"+"
365 printtab(3);"+estimate two months take home pay+"
370 printtab(3);"+";tab(37);"+":printtab(3);"+ for a reserve";
375 printtab(37);"+":printtab(3);"+++++++++++++++++++++++++++++++++++"
380 print:print:printtab(3);dr$:printtab(3);dw$
390 printtab(3);"[194] total invested assets on hand [194][146]":printtab(3)dw$
400 printtab(3)dv$:input"[145][145][145][145][145][145][145]==>$";mp
410 input"==>$";ia:print"[147]":printtab(3);dr$:printtab(3);dw$
420 printtab(3);"[194] college fund [194]":printtab(3);dw$
430 printtab(3);dv$:print:printtab(3);"+++++++++++++++++++++++++++++++++++"
440 printtab(3);"+ this assumes 9,000/year private +":printtab(3);"+";
450 print" 4,900/year state-public college +":printtab(3);"+ room - ";
460 print"board - tuition +":print" +++++++++++++++++++++++++++++++++++"
470 print:printtab(3);rr$:printtab(3);"[194]+++++1. private univ";
480 print"ersity++++++[194]":printtab(3);"[194]+++++2. public university++++++[194]"
490 printtab(3);"[194]+++++3. please select one++++++[194]":printtab(3);rv$:print
500 getc$:ifc$=""then500
510 ifc$<"1"orc$>"2"then500
520 ifc$="1"thenc=9600
530 ifc$="2"thenc=4900
540 printtab(3)"[194] no of children to attend [194]"
550 printtab(3);"[194] total years to attend [194]"
560 input"[145][145]";nc
570 input"";ty
580 t1=(c*nc)*ty:print"[147]":print:print:printtab(3);dr$:printtab(3);dw$
590 printtab(3);"[194] expected annual living expenses [194]":printtab(3);dw$
600 printtab(3);dv$:print:print:printtab(3);dr$:printtab(3);dw$
610 printtab(3)"[194] spouse's average annual income [194]":printtab(3);dw$
620 printtab(3);dv$:print:print:printtab(3);dr$:printtab(3);dw$
630 printtab(3);"[194] annual social security benefits [194]":printtab(3);dw$
640 printtab(3);dv$:input"[145][145][145][145][145][145][145][145][145][145][145][145][145][145]==>$";el
650 input"==>$";ai:input"==>$";ss
660 le=el-ai-ss:print"[147]":fori=1to9:print:next:printtab(3);dr$:printtab(3);dw$
670 printtab(3);"[194] no of years until spouse is 90 [194]"
680 printtab(3);"[194] investment rate factor [194]":printtab(3);dw$
690 printtab(3);dv$:print:printtab(12);"==>";:inputyr
700 print"[147]"
710 printtab(10);"[206] investment rate factor [206]"
720 printtab(9);"[206][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][206]"
730 printtab(8);"[206] s [206] *a* e [206] *b* [206]"
740 printtab(7);"[206] r [206] v [206] [206]"
750 printtab(6);"[206] a [206] t i [206] t e [206]"
760 printtab(5);"[206] e [206] n t [206] n v [206]"
770 printtab(4);"[206] y 0 [206] e a [206] e i [206]"
780 printtab(3);"[206] 9 [206] m v [206] m s [206]"
790 printtab(2);"[206] r [206] t r [206] t s [206]"
800 printtab(1);"[206] e l [206] s e [206] s e [206]"
810 print"[170] b i [170] e s [170] e r [170]":print"[170] m t [170] v n [170] v g [170]"
820 print"[170] u n [170] n o [170] n g [170]":print"[170] n u [170] i c [170] i a [170]"
830 print"[170][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][208]":print"[170] 25 [170] 20 [170] 16 [170]"
840 print"[170] 30 [170] 22 [170] 17 [170]":print"[170] 35 [170] 25 [170] 19 [170]"
850 print"[170] 40 [170] 27 [170] 20 [170]":print"[170] 45 [170] 30 [170] 21 [170]"
860 print"[170] 50 [170] 31 [170] 21 [170]":print"[170] 55 [170] 33 [170] 22 [170]"
870 print"[170] 60 [170] 35 [170] 23 [170]":print"[170][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][186]"
875 print"[145][145][145][145][145][145][145][145][145][145][145]find years"
876 print"pick from"
877 print"a or b"
880 input"==>";fi
890 tl=le*fi:print"[147]"
895 tn=ge+nm+mp+t1+tl
900 print"+++++++++++++++++++++++++++++++++++++++"
910 print"+ [146] +"
920 print"+ your life insurance needs [146] +"
930 print"+ [146] +"
945 print"+++++++++++++++++++++++++++++++++++++++":print
955 print"+ 1. funeral/estate taxes/etc. ";ge
960 print"+ 2. settle non-mortgage debts ";nm
965 print"+ 3. emergency fund ";mp
970 print"+ 4. college fund ";t1
980 print"+ 5. expected living expenses"
990 print"+ a. avg. annual living exp.";el
1000 print"+ b. spouse's avg. income ";ai
1010 print"+ c. annual social security ";ss
1020 print"+ d. net annual living exp. ";le
1030 print"+ e. years until 90 ";yr
1040 print"+ f. investment rate factor ";fi
1050 print"+ g. total living exp. ";tl
1060 print"+ 6. total monetary needs ";tn
1070 print"+ 7. total investment assets ";ia
1075 ln=tn-ia
1080 print"+ 8. life insurance needs ";ln
1090 print"+++++++++++++++++++++++++++++++++++++++"
1100 print:print" press any key to continue"
1110 getke$:ifke$=""then1110
1120 print"[147]":goto35
5000 print"[147]":print" is your life insurance sufficient-- or is it more";
5010 print" than you need?"
5020 print:print" the best way to tell is to calculate what your family";
5030 print" would require if you died today.":print
5040 print" insurance needs are no longer based on a multiple of your";
5050 print" salary. insurance needs usually peak early in your career";
5060 print" and then decline as you move toward retirement, even to being";
5070 print" self insured."
5080 print" using this program you will be asked various questions, to";
5090 print" identify sums to be paid or saved, then calculate the families";
5100 print" potential income and living expenses. this amount is reduced";
5110 print" by investing the life insurance proceeds.":print
5115 print" <press any key to continue>[146]"
5116 getk$:ifk$=""then5116
5117 print"[147]"
5120 print" the total";
5130 print" insurance needed is found by adding the immediate and long--";
5140 print"term expenses and substracting the value of investment assets";
5150 print" on hand.":print:print" to estimate social security benefits";
5160 print"you should use $5,000 if you have two or more minor children.";
5170 print" use $4,000 for one child and $3,000 for no children.":print
5180 print" a work sheet provides a choice of two investment rate factors";
5190 print" you can use to figure in the potential earnings from investing";
5200 print" the insurance proceeds. 1. a conservative portfolio such as bank";
5210 print"accounts and bonds (2% real growth afterinflation and taxes) or";
5220 print" 2. a more aggressive investment such as stocks and real estate";
5230 print" that might yield 4% real growth."
5240 print:print" <press any key to continue>[146]"
5250 getk$:ifk$=""then5250
5260 print"[147]":return
5300 rem*******************************
5301 rem* based on an article in 'wall
5302 rem* street journal' by karen
5303 rem* slater...."changing life-
5304 [143]* insurance needs require
5305 [143]* periodic look at your family's
5306 [143]* coverage"....source: bailard,
5307 rem* biehl & kaiser inc., san
5308 rem* mateo, calif.
5309 rem* program by glenn lumpkins
5310 rem* written april, 1984 v3
5311 rem*******************************